import React from 'react';
import { Table } from 'antd';

const UserManagement = () => {
    const columns = [
        { title: 'ID', dataIndex: 'id', key: 'id' },
        { title: 'Username', dataIndex: 'username', key: 'username' },
        { title: 'Email', dataIndex: 'email', key: 'email' },
        // 可以根据需要添加更多列
    ];

    const data = [
        { key: '1', id: 1, username: 'John Doe', email: 'john.doe@example.com' },
        { key: '2', id: 2, username: 'Jane Smith', email: 'jane.smith@example.com' },
        // 添加更多用户数据
    ];

    return <Table columns={columns} dataSource={data} />;
};

export default UserManagement;
